import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from "./router"
import store from "./store";
import less from 'less'
// import axios from 'axios'
import './styles/index.less'
import {request} from './api/request'

createApp(App).use(less).use(router).use(store).use(ElementPlus).mount('#app')

// axios({
//     url:'https://autumnfish.cn/banner'
// }).then(res=>{
//     console.log(res);
// })

// request('https://autumnfish.cn/banner',res=>{console.log(res);},err=>{console.log(err);})

// 第二种
// request({
//     url:'/banner',
//     success:res=>{
//         console.log(res);
//     }
// })

// 第三种
